﻿<%@ Page Title="" Language="C#" Inherits="System.Web.Mvc.ViewPage<MvcWebRole1.Models.UserListQueryModel>" MasterPageFile="~/Views/Shared/Site.Master" %>
<asp:Content runat="server" ID="Title" ContentPlaceHolderID="TitleContent"></asp:Content>
<asp:Content runat="server" ID="Main" ContentPlaceHolderID="MainContent">
	<%: Model.QueryResult %>

	<%: Html.ValidationSummary() %>
	<% using(Html.BeginForm(null)) {%>
	<fieldset>
		<legend>アドレス帳追加</legend>
		<div>
			<%: Html.LabelFor(m=>m.ZipCode ) %>
			<%: Html.TextBoxFor(m=>m.ZipCode) %>
			<%: Html.ValidationMessageFor(m=>m.ZipCode) %>
		</div>
		<div>
			<%: Html.LabelFor(m=>m.FamilyName ) %>
			<%: Html.TextBoxFor(m => m.FamilyName)%>
			<%: Html.ValidationMessageFor(m => m.FamilyName)%>
		</div>
		<div>
			<%: Html.LabelFor(m=>m.GivenName ) %>
			<%: Html.TextBoxFor(m => m.GivenName)%>
			<%: Html.ValidationMessageFor(m => m.GivenName)%>
		</div>
		<div>
			<%: Html.LabelFor(m => m.BirthDate)%>
			<%: Html.TextBoxFor(m => m.BirthDate)%>
			<%: Html.ValidationMessageFor(m => m.BirthDate)%>
		</div>
		<div>
			<%: Html.LabelFor(m => m.Memo)%>
			<%: Html.TextBoxFor(m => m.Memo)%>
			<%: Html.ValidationMessageFor(m => m.Memo)%>
		</div>
		<div>
			<%: Html.LabelFor(m => m.Tag)%>
			<%: Html.TextBoxFor(m => m.Tag)%>
			<%: Html.ValidationMessageFor(m => m.Tag)%>
		</div>
		<p>
            <input type="submit" value="検索して追加" />
        </p>
	</fieldset>
	<% }%>
</asp:Content>
